﻿using Coldairarrow.Entity.DTO;
using Coldairarrow.Entity.Goods;
using Coldairarrow.Util;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace Coldairarrow.Business.Goods
{
    public interface IBTB_SupplierBusiness
    {
        Task<PageResult<BTB_Supplier>> GetDataListAsync(PageInput<ConditionDTO> input);
        Task<BTB_Supplier> GetTheDataAsync(string id);
        Task AddDataAsync(BTB_Supplier data);
        Task UpdateDataAsync(BTB_Supplier data);
        Task DeleteDataAsync(List<string> ids);
        Task<List< BTB_Supplier>> GetAll();
        #region 前台展示
        List<BTB_Supplier> GetTheDataName(string where);
        #endregion
    }
}